package com.vincent.template.dto.sys.usergroup;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;

/**
 * @author Vincent Wang
 * @date 2021/3/22 22:03
 */
public class UserGroupDto {

    @ApiModelProperty(value = "用户组ID", hidden = true)
    @Null
    private Long id;

    @ApiModelProperty(value = "用户组名称")
    @NotBlank
    @Length(max = 128)
    private String groupName;

    @ApiModelProperty(value = "用户组描述")
    @Length(max = 128)
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
